package com.meibei.ljl.test01;

/**
 * Created by xy on 16/9/26.
 * 消息实体类
 */

public class Msg {
    public static final int TYPE_RECEIVED = 0;//消息类型：收到的消息
    public static final int TYPE_SEND = 1;//消息类型：发送的消息
    private String content;//发送的消息内容
    private int type;//消息类型

    public Msg(String content, int type) {
        this.content = content;
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public int getType() {
        return type;
    }
}
